package com.eascs.web.o2o.dc.common.util;

public class Page {
	private int index;
	private int size;

	public int getIndex() {
		return index;
	}

	public void setIndex(int index) {
		this.index = index;
	}

	public int getSize() {
		return size;
	}

	public void setSize(int size) {
		this.size = size;
	}

	public int getStartIndex() {
		return index * size;
	}

	public int getEndIndex() {
		return (index + 1) * size-1;
	}

}
